package com.example.eureka_client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评论表赞同/踩关联表
 * </p>
 *
 * @author plj
 * @since 2022-04-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("COMMENTS_AGREE")
@ApiModel(value="CommentsAgree对象", description="评论表赞同/踩关联表")
public class CommentsAgree implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.INPUT)
    private String id;

    @TableField("COMMENTS_ID")
    private String commentsId;

    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty(value = "0表示赞同，1表示不赞同")
    @TableField("TYPES")
    private Integer type;


}
